﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SelectQuestion.aspx.cs"
    Inherits="BOH.Interview.SelectQuestion" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>申报人员面试试题选择</title>
    <link href="../style/css.css" type="text/css" rel="Stylesheet" />

    <script src="../js/jquery-1.3.2.js" type="text/javascript"></script>

    <script>
        function reload(obj) {
            window.location.reload();
        }

        function ShowQuestion(obj) {

            //$("#"+obj).toggle("slow");
        }

        function notSelect(obj) {
            
            var hidden = $("#hidden_" + obj.id);
            if(hidden.val()!="Y")
            {
                hidden.val("Y");
                obj.style["color"] = "#aaaaaa";
            }
            else {
                obj.href = "#";//"javascript:void(0)";
            }
        }
        
        function CanUseMessage(obj) {
            obj.style["color"] = "#aaaaaa";
            alert("此题已经被使用过，请选择其他题目。");
        }
    </script>

</head>
<body>
    <form id="form1" runat="server">
    <div id="divNavigation">
        当前位置:<a href="OverView.aspx" target="frameControl">评审</a> >> 面试选题
    </div>
    <div id="bodyDiv">
        <div id="divSearch">
            <center>
                <table width="99%" class="Grid" style="font-size: 24px">
                <asp:HiddenField ID="hiddTestModule" runat="server"/>
                    <tr style="height: 50px">
                        <td style="width: 15%; text-align: right">
                            评审编号:&nbsp;
                        </td>
                        <td style="width: 30%; text-align: left">
                            &nbsp;<asp:Label ID="labPrintID" runat="server"></asp:Label>
                        </td>
                        <td style="width: 15%; text-align: right">
                            姓&nbsp;&nbsp;名:&nbsp;
                        </td>
                        <td style="width: 30%; text-align: left">
                            &nbsp;<asp:Label ID="labApplyName" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr style="height: 50px">
                        <td style="width: 15%; text-align: right">
                            学科组:&nbsp;
                        </td>
                        <td style="width: 30%; text-align: left">
                            &nbsp;<asp:Label ID="labSubject" runat="server"></asp:Label>
                        </td>
                        <td style="width: 15%; text-align: right">
                            专&nbsp;业:&nbsp;
                        </td>
                        <td style="width: 30%; text-align: left">
                            &nbsp;<asp:Label ID="labSpeciality" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr style="height: 50px">
                        <td style="width: 15%; text-align: right">
                            申报职称:&nbsp;
                        </td>
                        <td style="width: 30%; text-align: left">
                            &nbsp;<asp:Label ID="labJobRank" runat="server"></asp:Label>
                        </td>
                        <td style="width: 15%; text-align: right">
                            工作单位:&nbsp;
                        </td>
                        <td style="width: 30%; text-align: left">
                            &nbsp;<asp:Label ID="labUnit" runat="server"></asp:Label>
                        </td>
                    </tr>
                </table>
            </center>
        </div>
        <div id="divGrid">
            <div style="width: 99%; margin-top: 30px;">
                <font class="Title_font">选择问答试题</font>
                <center>
                    <table width="98%" cellpadding="0" cellspacing="0" border="0">
                        <tr style="margin-top: 15px; padding-top: 10px">
                            <td align="left">
                                <a href="#" onclick="ShowQuestion('tdQuestionsGT')">
                                    <h3>
                                        共性题目</h3>
                                </a>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <table width="98%" cellpadding="0" cellspacing="0" border="0">
                                    <tr>
                                        <td id="tdQuestionsGT">
                                            <asp:Label ID="labListQuestionsGT" runat="server"></asp:Label>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                    <table width="98%" cellpadding="0" cellspacing="0" border="0">
                        <asp:Repeater runat="server" ID="repSpecialitys" 
                            onitemdatabound="repSpecialitys_ItemDataBound">
                            <ItemTemplate>
                                <tr style="padding-bottom: 5px; padding-top: 55px">
                                    <td align="left">
                                        <%--<a href="#" onclick="ShowQuestion('tdQuestionsS')">--%>
                                            <h3>试题专业: <asp:Label ID="showLabSpeciality" runat="server"><%# DataBinder.Eval(Container.DataItem, "TestSpecialityName")%> </asp:Label></h3>
                                        <%--</a>--%>
                                        <asp:HiddenField ID="hiddSpecialityID" runat="server" Value='<%# DataBinder.Eval(Container.DataItem, "TestSpecialityID")%>' />
                                        <asp:HiddenField ID="hiddSubjectID" runat="server" Value='<%# DataBinder.Eval(Container.DataItem, "SubjectID")%>' />
                                        
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <table width="98%" cellpadding="0" cellspacing="0" border="0">
                                            <tr>
                                                <td id="tdQuestionsS">
                                                    <asp:Label ID="labListQuestionsS" runat="server"></asp:Label>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                            </ItemTemplate>
                        </asp:Repeater>
                        <tr style="padding-bottom: 5px; padding-top: 55px">
                            <td align="left">
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <table width="98%" cellpadding="0" cellspacing="0" border="0">
                                    <tr>
                                        <td id="tdQuestionsS">
                                            <asp:Label ID="labListQuestionsS" runat="server"></asp:Label>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </center>
            </div>
        </div>
    </div>
    </form>
</body>
</html>
